<?php
/*
 *  @author Nicolas Genevaux
 * (c)nige 2008
 */
	include_once($RACINE.'inc/fct.basedonnee.php');
	include_once($RACINE.'inc/sql.exerciceinscritmatiere.php');
	$disaNext = "disabled";
	$disaPrev = "disabled";
	$res = doSQL($EXERCICEINSCRITMATIERE_SELECT_INMA,array(0=>$_SESSION['ID_CONECT'],1=>$_GET['idmat']));
	if($_GET['rang'] > 0) {
		$disaPrev = "";
	}
	if($_GET['rang']+1 < $res['total']) {
		$disaNext = "";
	}
	$nbQuestion = $res['total'];
?>
